package dao.auth;

import java.util.List;
import java.util.Map;

import model.auth.Roles;
import core.base.page.Page;
import core.base.page.PageRequest;

public interface RolesDao {
	int insert(Roles model);

	Roles getById(Long id);

	int deleteById(Long id);

	List<Roles> queryByProperties(Map filter);
	
	Page<Roles> queryForPage(PageRequest<Map> pageReq);
}
